package com.example.workbench.dao;


import com.example.workbench.domain.Activity;

import java.util.List;
import java.util.Map;


public interface ActivityDao {
    int save(Activity a);

    List<Activity> getActivityListByCondition(Map<String, Object> map);

    int getTotalByCondition(Map<String, Object> map);

    int deleteActivityByid(String[] ids);

    Activity getActivity(String id);

    int update(Activity a);

    Activity detail(String id);

    List<Activity> getActivityListById(String clueId);

    List<Activity> getActivityListByNameAndNotByClueId(Map<String, String> map);

    List<Activity> getActivityListByName(String aname);
}
